/**
 * 路由 routes
 * @author linyn
 * @date 2025/10/16 16:17
 */
export const routes = [
  {
    path: "/",
    redirect: "/home", // 添加重定向
  },
  {
    path: "/home",
    name: "home",
    component: () => import("@/components/layout/index.vue"),
    meta: { title: "首页" },
  },
  {
    path: "/login",
    name: "login",
    component: () => import("@/views/login/index.vue"),
    meta: { title: "登录" },
  },
];
